﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Engine.Math
{
    public static class RandomEx
    {
        public static float RandomBetween(this Random random,float min, float max)
        {
            return min + (float)random.NextDouble() * (max - min);
        }
    }
}
